import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import {
  Button,
  Field,
  DropdownMenu,
  DropdownItem,
  Cell,
  Popup,
  Icon,
  DatePicker,
  Calendar,
  Search,
  List,
  Grid,
  GridItem,
  CellGroup,
  Toast,
  Loading,
  Sidebar,
  SidebarItem,
  NavBar,
  Tab,
  Tabs
} from 'vant'
import 'vant/lib/index.css'

const app = createApp(App)
app.use(router)
app.use(Button)
app.use(Field)
app.use(DropdownMenu)
app.use(DropdownItem)
app.use(Cell)
app.use(Icon)
app.use(Popup)
app.use(DatePicker)
app.use(Calendar)
app.use(Search)
app.use(List)
app.use(Grid)
app.use(GridItem)
app.use(CellGroup)
app.use(Toast)
app.use(Loading)
app.use(SidebarItem)
app.use(Sidebar)
app.use(NavBar)
app.use(Tab)
app.use(Tabs)
app.mount('#app')
